<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>AUI快速完成布局</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" href="../css/common.css">
</head>
<body>
    <header class="aui-bar aui-bar-nav" style="padding-top:20px;">
        <div class="aui-title">首页</div>
    </header>
    <footer class="aui-bar aui-bar-tab" id="footer">
        <div class="aui-bar-tab-item aui-active" tapmode>
            <img class="tab-img" src="../image/index2.png" alt="">
            <div class="aui-bar-tab-label">首页</div>
        </div>
        <div class="aui-bar-tab-item" tapmode>
            <img class="tab-img" src="../image/transaction.png" alt="">
            <div class="aui-bar-tab-label">交易区</div>
        </div>
        <div class="aui-bar-tab-item" tapmode>
            <img class="tab-img" src="../image/data.png" alt="">
            <div class="aui-bar-tab-label">数据区</div>
        </div>
        <div class="aui-bar-tab-item" tapmode>
            <img class="tab-img" src="../image/mine.png" alt="">
            <div class="aui-bar-tab-label">我</div>
        </div>
    </footer>
</body>
<script type="text/javascript" src="../script/api.js" ></script>
<script type="text/javascript" src="../script/aui-tab.js" ></script>
<script type="text/javascript">
    apiready = function(){
        api.parseTapmode();
    }
    var tab = new auiTab({
        element:document.getElementById("tab"),
    },function(ret){
        console.log(ret)
    });
</script>
</html>